using System;
using Glade;
using Gtk;

namespace DreamPark
{
	public class Screen_RecuperationVehiculeEnCours
	{
		private ControleurEntree ctrlEntree;
		private int acces;
		private string numeroTicket;
		
		public Screen_RecuperationVehiculeEnCours (ControleurEntree ctrlEntree, int acces, string numeroTicket)
		{
			Glade.XML gxml = new Glade.XML (null, "DreamPark.FenetreRecuperationVehiculeEnCours.glade", "FenetreRecuperationEnCours", null);                    
            gxml.Autoconnect (this);
			
			this.ctrlEntree = ctrlEntree;
			this.acces = acces;
			this.numeroTicket = numeroTicket;
		}
		
		[Glade.Widget]
		Window FenetreRecuperationEnCours;
		
		public void BoutonOK_clicked_cb(System.Object obj, EventArgs e){
			Screen_ConfirmerRetrait fenetreConfirmerRetrait = new Screen_ConfirmerRetrait(ctrlEntree, numeroTicket, acces);
			FenetreRecuperationEnCours.Destroy();
		}
	}
}

